package com.aaa.member.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (TbOrder)实体类
 *
 * @author makejava
 * @since 2020-11-18 09:06:04
 */
public class TbOrder implements Serializable {
    private static final long serialVersionUID = -86910924230243890L;

    private Integer id;
    /**
     * 客户id
     */
    private Integer clientId;
    /**
     * 车辆id
     */
    private Integer carId;

    private Date startTime;

    private Date endTime;

    private Integer brrowShop;

    private Integer returnShop;
    /**
     * 总金额
     */
    private Double totalPrice;
    /**
     * 预付金额
     */
    private Double preparidAmount;
    /**
     * 订单状态（输入Entered1，提交Booked2，预约Reserved3，使用中Inuse4，交还Returned5，取消Cancelled6）
     */
    private Integer state;
    /**
     * 是否送车上门
     */
    private String isgetcarathome;
    /**
     * 上门地址ID
     */
    private Integer getcarlocation;
    /**
     * 是否上门还车
     */
    private String isreturncarathome;
    /**
     * 上门地址ID
     */
    private Integer returncarlocation;

    @Override
    public String toString() {
        return "TbOrder{" +
                "id=" + id +
                ", clientId=" + clientId +
                ", carId=" + carId +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", brrowShop=" + brrowShop +
                ", returnShop=" + returnShop +
                ", totalPrice=" + totalPrice +
                ", preparidAmount=" + preparidAmount +
                ", state=" + state +
                ", isgetcarathome='" + isgetcarathome + '\'' +
                ", getcarlocation=" + getcarlocation +
                ", isreturncarathome='" + isreturncarathome + '\'' +
                ", returncarlocation=" + returncarlocation +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getClientId() {
        return clientId;
    }

    public void setClientId(Integer clientId) {
        this.clientId = clientId;
    }

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getBrrowShop() {
        return brrowShop;
    }

    public void setBrrowShop(Integer brrowShop) {
        this.brrowShop = brrowShop;
    }

    public Integer getReturnShop() {
        return returnShop;
    }

    public void setReturnShop(Integer returnShop) {
        this.returnShop = returnShop;
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Double getPreparidAmount() {
        return preparidAmount;
    }

    public void setPreparidAmount(Double preparidAmount) {
        this.preparidAmount = preparidAmount;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getIsgetcarathome() {
        return isgetcarathome;
    }

    public void setIsgetcarathome(String isgetcarathome) {
        this.isgetcarathome = isgetcarathome;
    }

    public Integer getGetcarlocation() {
        return getcarlocation;
    }

    public void setGetcarlocation(Integer getcarlocation) {
        this.getcarlocation = getcarlocation;
    }

    public String getIsreturncarathome() {
        return isreturncarathome;
    }

    public void setIsreturncarathome(String isreturncarathome) {
        this.isreturncarathome = isreturncarathome;
    }

    public Integer getReturncarlocation() {
        return returncarlocation;
    }

    public void setReturncarlocation(Integer returncarlocation) {
        this.returncarlocation = returncarlocation;
    }

}